[INFO] cloning repository https://github.com/tsuji-riya/discord_rich_presence_win
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tsuji-riya/discord_rich_presence_win" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsuji-riya%2Fdiscord_rich_presence_win", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsuji-riya%2Fdiscord_rich_presence_win'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4bee5b286363442e5bfe6a86d686dd9e13beedd9
[INFO] fixing tsuji-riya/discord_rich_presence_win against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsuji-riya%2Fdiscord_rich_presence_win" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tsuji-riya/discord_rich_presence_win
[INFO] finished tweaking git repo https://github.com/tsuji-riya/discord_rich_presence_win
[INFO] tweaked toml for git repo https://github.com/tsuji-riya/discord_rich_presence_win written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tsuji-riya/discord_rich_presence_win on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tsuji-riya/discord_rich_presence_win already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded discord-rich-presence v1.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f74da2a1d185d8075e4f9088f47f36b824d650f16ca8ffe06e7b751511abd352
[INFO] running `Command { std: "docker" "start" "f74da2a1d185d8075e4f9088f47f36b824d650f16ca8ffe06e7b751511abd352", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f74da2a1d185d8075e4f9088f47f36b824d650f16ca8ffe06e7b751511abd352" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f74da2a1d185d8075e4f9088f47f36b824d650f16ca8ffe06e7b751511abd352", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f74da2a1d185d8075e4f9088f47f36b824d650f16ca8ffe06e7b751511abd352" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]     Checking memchr v2.8.1
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]     Checking log v0.4.32
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking serde_json v1.0.150
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking uuid v0.8.2
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling serde_repr v0.1.20
[INFO] [stderr]     Checking thiserror v2.0.18
[INFO] [stderr]     Checking discord-rich-presence v1.1.0
[INFO] [stderr]     Checking discord_rich_presence_win v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `shared` in `winapi`
[INFO] [stdout]  --> src/windows.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use winapi::shared::windef::HWND;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]  --> src/windows.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::um::winuser::{GetClassNameW, GetForegroundWindow, GetWindowTextW, IsWindowVisible};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `shared` in `winapi`
[INFO] [stdout]  --> src/windows.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use winapi::shared::windef::HWND;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]  --> src/windows.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::um::winuser::{GetClassNameW, GetForegroundWindow, GetWindowTextW, IsWindowVisible};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `exit` in this scope
[INFO] [stdout]   --> src/main.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         exit(1);
[INFO] [stdout]    |         ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::process::exit;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Button` and `Party`
[INFO] [stdout]  --> src/discord.rs:2:63
[INFO] [stdout]   |
[INFO] [stdout] 2 | use discord_rich_presence::activity::{Activity, ActivityType, Button, Party};
[INFO] [stdout]   |                                                               ^^^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `activity`
[INFO] [stdout]  --> src/discord.rs:3:29
[INFO] [stdout]   |
[INFO] [stdout] 3 | use discord_rich_presence::{activity, DiscordIpc, DiscordIpcClient};
[INFO] [stdout]   |                             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]  --> src/windows.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 |         if (hwnd.is_null()) {
[INFO] [stdout]   |            ^              ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 8 -         if (hwnd.is_null()) {
[INFO] [stdout] 8 +         if hwnd.is_null()  {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DiscordIpc`
[INFO] [stdout]  --> src/main.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | use discord_rich_presence::{DiscordIpc};
[INFO] [stdout]   |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `exit` in this scope
[INFO] [stdout]   --> src/main.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         exit(1);
[INFO] [stdout]    |         ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::process::exit;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Button` and `Party`
[INFO] [stdout]  --> src/discord.rs:2:63
[INFO] [stdout]   |
[INFO] [stdout] 2 | use discord_rich_presence::activity::{Activity, ActivityType, Button, Party};
[INFO] [stdout]   |                                                               ^^^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `activity`
[INFO] [stdout]  --> src/discord.rs:3:29
[INFO] [stdout]   |
[INFO] [stdout] 3 | use discord_rich_presence::{activity, DiscordIpc, DiscordIpcClient};
[INFO] [stdout]   |                             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]  --> src/windows.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 |         if (hwnd.is_null()) {
[INFO] [stdout]   |            ^              ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 8 -         if (hwnd.is_null()) {
[INFO] [stdout] 8 +         if hwnd.is_null()  {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DiscordIpc`
[INFO] [stdout]  --> src/main.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | use discord_rich_presence::{DiscordIpc};
[INFO] [stdout]   |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `discord_rich_presence_win` (bin "discord_rich_presence_win" test) due to 3 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `discord_rich_presence_win` (bin "discord_rich_presence_win") due to 3 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f74da2a1d185d8075e4f9088f47f36b824d650f16ca8ffe06e7b751511abd352", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f74da2a1d185d8075e4f9088f47f36b824d650f16ca8ffe06e7b751511abd352", kill_on_drop: false }`
[INFO] [stdout] f74da2a1d185d8075e4f9088f47f36b824d650f16ca8ffe06e7b751511abd352
